$(document).on('click', '.game-help-bt', function () { if(typeof GameVersion !== "undefined" && GameVersion) { $('.Page_2').find('.HelpText').html(GetCaption(`balloon.board.help.text.three.${GameVersion}`)); } $('.HelpPopUpBG').css('display', 'block'); window.parent.postMessage({name: "prize-drop-hide-icon"}, "*"); }); $(".HelpPopUpClose").click(function () { $('.HelpPopUpBG').css('display', 'none'); $('#help').css('display', 'none'); window.parent.postMessage({name: "show-loader-hood"}, "*"); window.parent.postMessage({name: "prize-drop-show-icon"}, "*"); }); $(document).on('click', '.head-menu', function() { window.parent.postMessage({name: "prize-drop-show-icon"}, "*"); window.parent.postMessage({name: "hide-loader-hood"}, "*"); }); var Page = [0, -1213, -2430]; var PageIndex = 0; $(".Page-Right").click(function () { //if (PageIndex !== 2) { if (PageIndex === 2) PageIndex = -1; $('.All-Page').css('left', Page[++PageIndex]); $('.slick-dots > li').removeClass("slick-active"); $('.slick-dots > li').eq(PageIndex).addClass("slick-active"); //} }); $(".Page-Left").click(function () { //if (PageIndex !== 0) { if (PageIndex === 0) PageIndex = 3; $('.All-Page').css('left', Page[--PageIndex]); $('.slick-dots > li').removeClass("slick-active"); $('.slick-dots > li').eq(PageIndex).addClass("slick-active"); //} }); $('.slick-dots > li').click(function () { $('.slick-dots > li').removeClass("slick-active"); $(this).addClass("slick-active"); PageIndex = $(this).children().text(); $('.All-Page').css('left', Page[PageIndex]); PageIndex = parseInt(PageIndex); }); var val = document.getElementById('betValues').value.split('|'); $(document).ready(function () { $('.Amount-5').html(val[5]); $('.Amount-3').html(val[3]); });